/**
 * 
 */
package com.maxin.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.maxin.entity.Goodstable;
import com.maxin.mapper.GoodstableMapper;
import com.maxin.service.IGoodstableService;

/**
 * @author: maxin
 * @description: 
 */
@Service
public class GoodstableServiceImpl implements IGoodstableService{
	@Autowired
	private GoodstableMapper goodstableMapper;

	@Override
	public Goodstable selectById(long id) {
		return goodstableMapper.selectById(id);
	}

	@Override
	public int insert(Goodstable goodstable) {
		return goodstableMapper.insert(goodstable);
	}

	@Override
	public List<Goodstable> selectAll() {
		return goodstableMapper.selectAll();
	}

	@Override
	public List<Goodstable> selectByPage(Map<String, Object> map) {
		
		
		return goodstableMapper.selectByPage(map);
	}
	
	
}
